import styled from "styled-components";

export const SongListStyle = styled.div`
  .playlist-top-box {
    display: flex;
    padding: 40px;
    .playlist-l {
      width: 208px;
      height: 208px;
      position: relative;
      .msk-p {
        width: 208px;
        height: 208px;
        background-position: 0 -1285px;
        top: -4px;
        left: -4px;
        position: absolute;
      }
    }
    .playlist-top-r {
      margin-left: 25px;
      .playlist-r-top {
        margin-bottom: 12px;
        .playlist-icon {
          width: 54px;
          height: 24px;
          background-position: 0 -243px;
          display: block;
          float: left;
          margin-right: 12px;
        }
        .playlist-r-top-text {
          font-size: 20px;
          line-height: 24px;
        }
      }
      .playlist-creator-box {
        margin-bottom: 20px;
        img {
          margin-right: 10px;
        }
        .creator-nickname {
          color: #0c73c2;
        }
        .create-time {
          color: #999;
        }
      }
      .playlist-play-box {
        margin-bottom: 20px;
        .playlist-playbtn {
          background-position: right -428px;
          padding: 0 4px 0 0;
          float: left;
          i {
            padding: 0 7px 0 8px;
            color: #fff;
            background-position: 0 -387px;
            display: inline-block;
            height: 31px;
            line-height: 31px;
            overflow: hidden;
            text-align: center;
            cursor: pointer;
            .ply {
              float: left;
              width: 20px;
              height: 18px;
              margin: 6px 2px 2px 0;
              background-position: 0 -1622px;
              overflow: hidden;
              cursor: pointer;
              display: block;
            }
          }
        }
        .playlist-play-addlist {
          margin-right: 5px;
          width: 31px;
          height: 31px;
          line-height: 30px;
          min-width: 23px;
          cursor: pointer;
          margin-left: -3px;
          padding-right: 0;
          background-position: 0 -1588px;
          float: left;
        }
        .u-btn {
          background-position: right -1020px;
          margin-right: 6px;
          color: #333;
          text-decoration: none;
          padding: 0 5px 0 0;
          white-space: nowrap;
          float: left;
          height: 31px;
          line-height: 30px;
          min-width: 23px;
          cursor: pointer;
        }
        .u-btn-i {
          padding: 0 7px 0 26px;
          float: left;
          height: 31px;
          line-height: 30px;
          min-width: 23px;
          cursor: pointer;
        }
        .forbidA {
          background-position: right -1192px;
          cursor: default;
        }
        .addicon {
          background-position: 0 -977px;
        }
        .forbid {
          background-position: 0 -1149px;
          color: #bebebe;
          cursor: default;
        }
        .zf {
          background-position: 0 -1225px;
        }
        .xz {
          background-position: 0 -2761px;
          padding-left: 27px;
        }
        .pl {
          background-position: 0 -1465px;
        }
        :after {
          content: "";
          clear: both;
          display: block;
          overflow: hidden;
        }
      }
      .u-tag {
        float: left;
        margin: 0px 10px 3px 0;
        padding: 0 10px 0 0;
        text-shadow: 0 1px #fdfdfd;
        color: #777;
        text-decoration: none;
        background-position: right -27px;
        cursor: pointer;
        i {
          position: relative;
          zoom: 1;
          padding: 0 3px 0 13px;
          background-position: 0 0;
          float: left;
          height: 22px;
          line-height: 22px;
        }
      }
      .playlist-bq {
        margin-bottom: 20px;
        span {
          line-height: 25px;
          margin-right: 10px;
        }
        :after {
          content: "";
          clear: both;
          overflow: hidden;
          display: block;
        }
      }
    }
  }
  .songTableTitle {
    width: 640px;
    margin: 0 auto;
    height: 35px;
    border-bottom: 2px solid #c20c0c;
    .song-list {
      font-family: "Microsoft Yahei", Arial, Helvetica, sans-serif;
      font-size: 20px;
      line-height: 28px;
    }
    .song-number {
      font-family: "Microsoft Yahei", Arial, Helvetica, sans-serif;
      font-size: 12px;
      margin: 9px 0 0 20px;
    }
    .song-time-r {
      margin-top: 6px;
      :after {
        content: "";
        display: none;
        clear: both;
        overflow: hidden;
      }
      .play-time-number {
        color: #c20c0c;
      }
    }
  }
  .playList-table {
    width: 640px;
    margin: 0 auto;
    table {
      border: 1px solid #d9d9d9;
      thead {
        background-position: 0 0;
        tr {
          th {
            height: 35px;
            background-color: #f7f7f7;
            background-position: 0 0;
            background-repeat: repeat-x;
            vertical-align: top;
            text-align: left;
            font-weight: normal;
            color: #666;
            .wp {
              background-position: 0 -56px;
              line-height: 18px;
              padding: 8px 10px;
            }
          }
          .first-kb {
            width: 77px;
          }
          .bt {
            width: 235px;
          }
          .sc {
            width: 131px;
          }
          .gs {
            width: 69px;
          }
          .zj {
            width: 127px;
          }
        }
      }
      tbody {
        tr {
          height: 30px;
          :hover {
            .tr-time-box {
              display: block !important;
            }
            .tr-time-times {
              display: none;
            }
          }
          :nth-child(2n-1) {
            background-color: #f7f7f7;
          }
          .tr-num {
            .tr-num-div {
              width: 57px;
              margin: 0 auto;
              display: flex;
              align-items: center;
              justify-content: space-between;
              span {
                width: 25px;
                text-align: center;
                color: #999;
              }
              .tr-name-play {
                display: block;
                width: 17px;
                height: 17px;
                background-position: 0 -103px;
                margin-right: 7px;
                cursor: pointer;
                :hover {
                  background-position: 0 -128px;
                }
              }
            }
          }
          .tr-name {
            padding-left: 10px;
            ::after {
              content: "";
              clear: both;
              overflow: hidden;
              display: block;
            }
            div {
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              max-width: 180px;
              padding-right: 20px;
              /* position: relative; */
              float: left;
            }
            .sp-i {
              display: block;
              width: 23px;
              height: 17px;
              margin: 1px 0 0 0;
              background-position: 0 -151px;
              cursor: pointer;
              float: left;

              :hover {
                background-position: -30px -151px;
              }
            }
            .tr-name-span {
              display: block;
              max-width: 180px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              padding-right: 5px;
            }
            .tr-name-play-three {
              margin: 18px 7px 0px 10px;
            }
            .tr-name-span-three {
              display: block;
              margin-top: 18px;
            }
            span {
              color: #aeaeae;
            }
          }
          .tr-time {
            padding-left: 10px;
            .tr-time-times {
            }
            .tr-time-box {
              display: none;
              .tr-time-rubbish {
                width: 18px;
                height: 16px;
                background-position: 0 -217px;
                cursor: pointer;
                :hover {
                  background-position: -20px -217px;
                }
              }
            }
          }
          .tr-songer {
            padding-left: 10px;
            div {
              width: 86px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }
          }
          .tr-zj {
            padding-left: 10px;
            div {
              width: 127px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }
          }
        }
      }
    }
  }
`;
